
package com.insigma.business.qrcode.intell.dao;


import com.insigma.business.qrcode.intell.dto.UserBSearcher;
import com.insigma.business.qrcode.intell.entity.UserDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface UserDao {

    
    List<UserDO> search(final UserBSearcher innerSearcher);

    
    UserDO get(final String id);

    
    UserDO getByAccount(final String account);

    
    Integer insert(final UserDO userDO);

    
    Integer update(final UserDO userDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

}
